package design.pattern.decorator;

public class JavaStudentWorkDecorator implements Iwork{


    private Iwork iwork;

    public void setIwork(Iwork iwork) {
        this.iwork = iwork;
    }

    public JavaStudentWorkDecorator(Iwork iwork) {
        this.iwork = iwork;
    }

    @Override
    public String work() {
        return this.iwork.work()+"将来高薪就业";
    }
}
